package net.huashitong.supervision.task.entity;

import com.sirdc.modules.core.entity.StringEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 用户指标-权限
 */
@Entity
@Table(name = "t_task_user_permis")
public class TaskPermissions extends StringEntity {
    private String userId;
    private String scopes;
    private int types;  //1 普通 2 内部
    private String deptSysId;

    public String getDeptSysId() {
        return deptSysId;
    }

    public void setDeptSysId(String deptSysId) {
        this.deptSysId = deptSysId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getScopes() {
        return scopes;
    }

    public void setScopes(String scopes) {
        this.scopes = scopes;
    }

    public int getTypes() {
        return types;
    }

    public void setTypes(int types) {
        this.types = types;
    }
}
